package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.ValueAddedOrder;
import org.apache.ibatis.annotations.Param;

/**
 * fo_value_added_orderMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface ValueAddedOrderMapper 
{
    /**
     * 查询fo_value_added_order
     * 
     * @param id fo_value_added_order主键
     * @return fo_value_added_order
     */
    public ValueAddedOrder selectValueAddedOrderById(Long id);

    /**
     * 查询fo_value_added_order列表
     * 
     * @param valueAddedOrder fo_value_added_order
     * @return fo_value_added_order集合
     */
    public List<ValueAddedOrder> selectValueAddedOrderList(ValueAddedOrder valueAddedOrder);
    public List<ValueAddedOrder> selectValueAddedOrderList1(ValueAddedOrder valueAddedOrder);

    /**
     * 可以业务主键查询一条fo_value_added_order
     *
     * @param valueAddedOrder fo_value_added_order
     * @return fo_value_added_order集合
     */
    public ValueAddedOrder selectOneValueAddedOrder(ValueAddedOrder valueAddedOrder);

    /**
     * 新增fo_value_added_order
     * 
     * @param valueAddedOrder fo_value_added_order
     * @return 结果
     */
    public int insertValueAddedOrder(ValueAddedOrder valueAddedOrder);

    /**
     * 修改fo_value_added_order
     * 
     * @param valueAddedOrder fo_value_added_order
     * @return 结果
     */
    public int updateValueAddedOrder(ValueAddedOrder valueAddedOrder);

    /**
     * 条件修改fo_value_added_order
     *
     * @param valueAddedOrder fo_value_added_order
     * @param valueAddedOrder fo_value_added_order条件
     * @return 结果
     */
    public int updateValueAddedOrderCondition(@Param("valueAddedOrder") ValueAddedOrder valueAddedOrder, @Param("valueAddedOrderCondition") ValueAddedOrder valueAddedOrderCondition);

    /**
     * 删除fo_value_added_order
     * 
     * @param id fo_value_added_order主键
     * @return 结果
     */
    public int deleteValueAddedOrderById(Long id);

    /**
     * 条件删除fo_value_added_order
     *
     * @param valueAddedOrder fo_value_added_order
     * @return 结果
     */
    public int deleteValueAddedOrderByCondition(ValueAddedOrder valueAddedOrder);

    /**
     * 批量删除fo_value_added_order
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteValueAddedOrderByIds(Long[] ids);
}
